PaymentPlugins\WooCommerce\PPCP\Factories\BillingAgreementTokenFactory S

Total Complexity 40
Dependencies 0
Dependents 1
Total lines 199
Lines of code 168
Logical lines of code 79
Comment lines 0
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
validate_params()
B
42 21 55
from_order()
S
58 4 16
from_cart()
S
60 3 13
create_params()
S
54 2 22
get_return_url()
S
60 2 14
get_notify_url()
S
60 2 14
get_address_from_customer()
S
62 1 11
get_address_from_order()
S
62 1 11
get_cancel_url()
S
81 1 3
add_customer_address()
S
79 1 3
add_order_address()
S
79 1 3
set_needs_shipping()
S
81 1 3